﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using CommunitySystem.RightControl;

namespace CommunitySystem.PageView.SystemManager
{
    public class MenuModule : IModuleBase
    {

        public override string ModuleGuid
        {
            get { return "605E2776-5AEF-42F3-AB27-6EEAF30CF53B"; }
        }

        public override string Author
        {
            get { return "tollin"; }
        }

        public override string ParentModuleGuid
        {
            get { return "D82E76F8-6D7F-4509-9C09-6272AB24E468"; }
        }

        public override string Namespace
        {
            get { return "菜单管理"; }
        }
        
        public override string[] Verbs
        {
            get { return new string[]{"新增", "编辑", "删除"}; }
        }

        public override string ControlNamespace
        {
            get { return "CommunitySystem.MenuManage"; }
        }

        public override object Action(object[] Args, string Verb)
        {
            //switch (Verb)
            //{

            //    case "":
            //    case "Open":
            //    default:
            //        return Activator.CreateInstance(Type.GetType(ControlNamespace), Args);
            //}
            return null;
        }
    }
}
